package com.jike.mahjong.service;

import com.jike.mahjong.common.Page;
import com.jike.mahjong.model.CoinRecordModel;
import com.jike.mahjong.model.Player;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by star on 2016/10/11.
 */

public interface PlayerService {

    public Page queryPlayerInfo(Map<String,Object> para,Page page);

    public Integer addCoin(Map<String,Object> para,String id,String addCoin) throws Exception;

    //根据玩家id查询玩家信息
    public Player queryPlayInfoById(Map<String,Object> map);

    //设置为代理管理员
    public Integer setManagerRole(Map<String,Object> para);

    //设置为代理管理员
    public Integer updatePlayerState(String playerId,String  sign);

    public Page queryPlayerRechargeRecord(Map<String,Object> para, Page page);


    public Page queryManagerRechargeRecord(Map<String,Object> para, Page page);

    public  Integer countPlayerByCondition( Map<String, Object> para );

}
